package com.it.food.service.impl;

import com.it.common.entity.Food;
import com.it.food.mapper.FoodMapper;

import com.it.food.service.FoodService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class FoodServiceImpl implements FoodService {
    @Autowired
    FoodMapper foodMapper;
    @Override
    public List<Food> getFoodByBusinessId(Integer businessId) {
        return foodMapper.getFoodByBusinessId(businessId);
    }
}
